package com.wtj.user.service.impl;

import com.wtj.user.domain.Menu;
import com.wtj.user.mapper.MenuMapper;
import com.wtj.user.service.MenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;

@Service
public class MenuServiceImpl implements MenuService {
    @Resource
    private MenuMapper  menuMapper;

    @Override
    public List<String> selectPermsByUserId(Long userId) {
        List<String> strings = menuMapper.selectPermsByUserId(userId);
        return strings;
    }
}
